package com.ruoyi.yl.bedSetting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.yl.bedSetting.domain.YlRoomArea;
import com.ruoyi.yl.bedSetting.vo.YlRoomAreaVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 房间区域Mapper接口
 *
 * @author Ming
 * @date 2025-10-21
 */
public interface YlRoomAreaMapper extends BaseMapper<YlRoomArea> {

    Page<YlRoomAreaVo> queryList(Page<?> page, @Param("entity") YlRoomAreaVo entity);

    List<YlRoomAreaVo> queryList(@Param("entity") YlRoomAreaVo entity);

    YlRoomAreaVo queryById(@Param("id") Long id);

}
